    <div class="header-person fr">
      <div class="person">欢迎登录，<span id="login"></span>
        <div class="person-down">
          <div class="con">
            <div class="li li-pas"><a href="#" onclick="editpwd()">修改密码</a> </div>
            <div class="li li-log"><a href="#" onclick="logout()">退出登录</a> </div>
          </div>
        </div>
      </div>
    </div>
    <script src="js/auth.js"></script>
    <script>
      function logout(){


        $.get("api/Auth/logout",function(res){

          if(res.code==200){
            window.location.reload();
          }
        });



      }



      function editpwd(){


$("#mainbox").load("pwdedit.html");
}



    </script>